<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文本编辑器</title>
    <style>
        textarea {
            width: 100%;
            height: 100vh;
            border: none;
            outline: none;
            font-size: 16px;
            padding: 10px;
        }
    </style>
</head>

<body>
    <textarea id="editor"></textarea>
    <script src="renderer.js"></script>
</body>

</html>